package downpacket

import "gitee.com/yanwc/ebike-xiaoan-device/internal/field"

type CellLbs struct {
	Lat float64 `json:"lat"`
	Lng float64 `json:"lon"`
}
type CellLocationInfoResp struct {
	Lbs  CellLbs `json:"lbs"`
	Type int     `json:"type"`
}

func NewCellLbsReq(sn field.SerialNumber) *Req[any] {
	return &Req[any]{
		CmdWord: QueryCellLocationInfoCommandWord,
		MsgNo:   sn,
		Param:   nil,
	}
}
